/*!
 * Bootstrap Off-Canvas Nav (http://github.com/marcandrews/bootstrap-off-canvas-nav)
 * Copyright (c) 2015 Marc Andrews
 * Licensed under the MIT license
 */
@media (max-width: 767px) {
    body {
        position: absolute;
        left: 0;
        right: 0;
        overflow-x: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        transition-delay: 0s;
    }

    body.off-canvas-nav-left.out {
        left: 250px;
    }
    
    .navbar.navbar-fixed-top {
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        transition-delay: 0s;
    }

    body.off-canvas-nav-left.out .navbar.navbar-fixed-top {
        -webkit-transform: translate3d(250px, 0, 0);
        -moz-transform: translate3d(250px, 0, 0);
        -ms-transform: translate3d(250px, 0, 0);
        -o-transform: translate3d(250px, 0, 0);
        transform: translate3d(250px, 0, 0);
        transition-delay: 0s;
    }
 
    body.off-canvas-nav-left .navbar .navbar-collapse {
        left: -250px;
    }
    body.off-canvas-nav-left.out .navbar .navbar-collapse {
        box-shadow: 10px 0px 50px 0px rgba(0, 0, 0, 0.75);
    }

    .navbar .navbar-collapse {
        margin-left: 0;
        margin-right: 0;
    }
    .navbar .navbar-nav {
        margin-top: 0;
    }
    .navbar .navbar-toggle {
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
    .navbar .navbar-toggle .icon-bar {
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

    body.out .navbar .navbar-toggle .icon-bar:nth-of-type(2) {
        -webkit-transform: translate3d(0, 6px, 0) rotate(45deg);
        -moz-transform: translate3d(0, 6px, 0) rotate(45deg);
        -ms-transform: translate3d(0, 6px, 0) rotate(45deg);
        -o-transform: translate3d(0, 6px, 0) rotate(45deg);
        transform: translate3d(0, 6px, 0) rotate(45deg);
    }
    body.out .navbar .navbar-toggle .icon-bar:nth-of-type(3) {
        filter: alpha(opacity=0);
        -moz-opacity: 0;
        opacity: 0;
    }
    body.out .navbar .navbar-toggle .icon-bar:nth-of-type(4) {
        -webkit-transform: translate3d(0, -6px, 0) rotate(-45deg);
        -moz-transform: translate3d(0, -6px, 0) rotate(-45deg);
        -ms-transform: translate3d(0, -6px, 0) rotate(-45deg);
        -o-transform: translate3d(0, -6px, 0) rotate(-45deg);
        transform: translate3d(0, -6px, 0) rotate(-45deg);
    }
    
    .navbar .navbar-collapse {
        position: fixed;
        z-index: 10000;
        top: 0;
        left: 0;
        display: block !important;
        width: 250px;
        height: 100vh !important;
        border: none;
        box-shadow: none;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .navbar.navbar-fixed-top .navbar-collapse {
        max-height: none;
    }
}